package com.zzg.springboot.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.zzg.springboot.service.UserEntityService;

@Controller
@RequestMapping("/api/springboot")
public class UserController {
	@Autowired
	private UserEntityService service;
	
	@RequestMapping(value="/init", method=RequestMethod.GET)
	public void init(){
		service.init();
	}

}
